package ru.niir.goodfil.audit.domain;

import ru.niir.goodfil.audit.domain.enums.ReplacementAction;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;

public class ReplacementActionEvent extends Event {
    @Enumerated(EnumType.STRING)
    private ReplacementAction action;

    private String managerId;
    private String managerName;
    private String assistantId;
    private String assistantName;

    private String orderId;
    private String clientId;
    private String clientName;

    public ReplacementAction getAction() {
        return action;
    }

    public void setAction(ReplacementAction action) {
        this.action = action;
    }

    public String getManagerId() {
        return managerId;
    }

    public void setManagerId(String managerId) {
        this.managerId = managerId;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getAssistantId() {
        return assistantId;
    }

    public void setAssistantId(String assistantId) {
        this.assistantId = assistantId;
    }

    public String getAssistantName() {
        return assistantName;
    }

    public void setAssistantName(String assistantName) {
        this.assistantName = assistantName;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    @Override
    public String toString() {
        return "ReplacementActionEvent{" +
                "action=" + action +
                ", managerId='" + managerId + '\'' +
                ", managerName='" + managerName + '\'' +
                ", assistantId='" + assistantId + '\'' +
                ", assistantName='" + assistantName + '\'' +
                ", orderId='" + orderId + '\'' +
                ", clientId='" + clientId + '\'' +
                ", clientName='" + clientName + '\'' +
                '}';
    }
}
